﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KlubSportowy.Models;

namespace KlubSportowy.Repositories.Memory
{
    public class MemoryDataSource
    {
        dbEntities db = new dbEntities();

        public List<UsersContributions> Contributions;
        public List<ContributionsSet> ContributionsSet;
        public List<aspnet_Users> Users;

        public MemoryDataSource()
        {
            Contributions = db.UsersContributions.ToList();
            ContributionsSet = db.ContributionsSet.ToList();
            Users = db.aspnet_Users.ToList();
        }
    }
}